package com.example.safeassistan.train.model;

import java.util.List;

public class MateralList {


    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : [{"id":"1385073576947503106","postDesc":"责任体系1","postTitle":"责任体系1","postSource":"责任体系1","createTime":"2021-04-22 11:30:49","postType":null},{"id":"1393134688389668866","postDesc":"两单一卡","postTitle":"两单一卡","postSource":"两单一卡","createTime":"2021-05-14 17:22:48","postType":null}]
     * timestamp : 1623379167671
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * id : 1385073576947503106
         * postDesc : 责任体系1
         * postTitle : 责任体系1
         * postSource : 责任体系1
         * createTime : 2021-04-22 11:30:49
         * postType : null
         */

        private String id;
        private String postDesc;
        private String postTitle;
        private String postSource;
        private String createTime;
        private Object postType;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPostDesc() {
            return postDesc;
        }

        public void setPostDesc(String postDesc) {
            this.postDesc = postDesc;
        }

        public String getPostTitle() {
            return postTitle;
        }

        public void setPostTitle(String postTitle) {
            this.postTitle = postTitle;
        }

        public String getPostSource() {
            return postSource;
        }

        public void setPostSource(String postSource) {
            this.postSource = postSource;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getPostType() {
            return postType;
        }

        public void setPostType(Object postType) {
            this.postType = postType;
        }
    }
}
